package com.hyt.it.ogt.kq.service.bm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.kq.service.bm.model.entity.Project;
import com.hyt.it.ogt.kq.service.bm.model.vo.ProjectNodeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 报名子节点 Mapper 接口
 * </p>
 *
 * @author wangt
 * @since 2020-05-15
 */
public interface NodeMapper extends BaseMapper<Project> {

	void saveNodeList(@Param("lists") List<ProjectNodeVo> lists);

	ProjectNodeVo selectProjectNode(@Param("projectId") String projectId, @Param("nodeType") String nodeType);

	List<ProjectNodeVo> queryNodeList(@Param("projectId") String projectId);

	void updateNodeList(ProjectNodeVo projectNodeVo);
}
